package com.turnengine.client.local.unit.command;

import com.javabi.codebuilder.generated.IGeneratedCommand;
import com.turnengine.client.local.command.ILocalExecutableCommand;
import com.turnengine.client.local.unit.bean.IUnit;

/**
 * The I Get Unit By Name.
 */
public interface IGetUnitByName extends IGeneratedCommand, ILocalExecutableCommand<IUnit>, Comparable<IGetUnitByName> {

	/**
	 * Returns the login id.
	 * @return the login id.
	 */
	long getLoginId();

	/**
	 * Returns the instance id.
	 * @return the instance id.
	 */
	int getInstanceId();

	/**
	 * Returns the name.
	 * @return the name.
	 */
	String getName();

	/**
	 * Sets the login id.
	 * @param loginId the login id to set.
	 */
	void setLoginId(long loginId);

	/**
	 * Sets the instance id.
	 * @param instanceId the instance id to set.
	 */
	void setInstanceId(int instanceId);

	/**
	 * Sets the name.
	 * @param name the name to set.
	 */
	void setName(String name);
}
